package cn.net.wanji.entity;

import cn.net.wanji.utils.StringUtils;
import lombok.Data;

/**
 * @author guodejun
 * @createTime 2022/10/28 10:41
 * @description
 */
@Data
public class RSUInfo {

    String etcMediaType;
    String etcMac;
    String etcContractSerial;
    String etcTransTime;
    String etcTradeResult;
    String etcLicense;
    String etcLicenseColor;
    String etcVehClass;
    String etcVehUserType;
    String etcStatus;
    String etcValidSign;
    String etcEntryClass;
    String etcEntryAxles;
    String etcEntryTime;
    String etcGeneralState;
    String etcTollStation;
    String vehTradeResult;
    String relateEtcCount;
    String relateEtcMediaType;
    String relateEtcMac;
    String relateEtcContractSerial;
    String etcPassID;
    String relateEtcPassID;
    String etcDevType;
    String relateEtcEntryTime;
    String relateEtcTradeResult;
    //新增
    String relateEtcTransTime;
    String relateEtcLicense;
    String relateEtcLicenseColor;
    String relateEtcVehClass;
    String relateEtcVehUserType;
    String relateEtcEntryClass;
    String relateEtcEntryAxles;
    Integer etcApprovalNumber;
    public void updateVehicleRsuInfo(VehicleRsuInfo vehicleRsuInfo) {
        vehicleRsuInfo.setEtcPassId(etcPassID);
        vehicleRsuInfo.setRelateEtcPassId(relateEtcPassID);
        vehicleRsuInfo.setEtcDevType(etcDevType);
        vehicleRsuInfo.setRelateEtcEntryTime(relateEtcEntryTime);
        vehicleRsuInfo.setRelateEtcTradeResult(relateEtcTradeResult);
        vehicleRsuInfo.setEtcMediaType(etcMediaType);
        vehicleRsuInfo.setEtcMac(etcMac);
        vehicleRsuInfo.setEtcContractSerial(etcContractSerial);
        vehicleRsuInfo.setEtcTransTime(StringUtils.timeRevise(etcTransTime));
        vehicleRsuInfo.setEtcTradeResult(etcTradeResult);
        vehicleRsuInfo.setEtcLicense(etcLicense);
        vehicleRsuInfo.setEtcLicenseColor(etcLicenseColor);
        vehicleRsuInfo.setEtcVehClass(etcVehClass);
        vehicleRsuInfo.setEtcVehUserType(etcVehUserType);
        vehicleRsuInfo.setEtcStatus(etcStatus);
        vehicleRsuInfo.setEtcValidSign(etcValidSign);
        vehicleRsuInfo.setEtcEntryClass(etcEntryClass);
        vehicleRsuInfo.setEtcEntryAxles(etcEntryAxles);
        vehicleRsuInfo.setEtcEntryTime(StringUtils.timeRevise(etcEntryTime));
        vehicleRsuInfo.setEtcGeneralState(etcGeneralState);
        vehicleRsuInfo.setEtcTollStation(etcTollStation);
        vehicleRsuInfo.setVehTradeResult(vehTradeResult);
        vehicleRsuInfo.setRelateEtcCount(relateEtcCount);
        vehicleRsuInfo.setRelateEtcMediaType(relateEtcMediaType);
        vehicleRsuInfo.setRelateEtcMac(relateEtcMac);
        vehicleRsuInfo.setRelateEtcContractSerial(relateEtcContractSerial);

        vehicleRsuInfo.setRelateEtcTransTime(relateEtcTransTime);
        vehicleRsuInfo.setRelateEtcLicense(relateEtcLicense);
        vehicleRsuInfo.setRelateEtcLicenseColor(relateEtcLicenseColor);
        vehicleRsuInfo.setRelateEtcVehClass(relateEtcVehClass);
        vehicleRsuInfo.setRelateEtcVehUserType(relateEtcVehUserType);
        vehicleRsuInfo.setRelateEtcEntryClass(relateEtcEntryClass);
        vehicleRsuInfo.setRelateEtcEntryAxles(relateEtcEntryAxles);
        vehicleRsuInfo.setEtcApprovalNumber(etcApprovalNumber);

    }
}
